import Layout from '@/layout/index.vue'

export default [
  { path: '/', redirect: '/case' },
  {
    path: '/case',
    component: Layout,
    children: [
      {
        path: '',
        name: 'demo',
        meta: {
          title: 'demo',
        },
        component: () => import('@/views/case/index.vue'),
      },
    ],
  },
  {
    path: '/demo',
    component: Layout,
    children: [
      {
        path: '',
        name: 'demo',
        meta: {
          title: 'demo',
        },
        component: () => import('@/views/demo/index.vue'),
      },
    ],
  },
]
